package cn.edu.hust.sse.software7.class3.service;

import java.util.List;

import cn.edu.hust.sse.software7.class3.entities.EBShoppingCar;

public interface EBShoppingCarService {

	void createSCar(EBShoppingCar shoppingCar);

	void deleteSCar(EBShoppingCar ebShoppingCar);
	
	List<EBShoppingCar> getByUserId(Long userId);

	void clearSCar(Long userId);

	boolean isEsistCar(EBShoppingCar car);
	
	
}
